package com.attendcollatesys.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 员工实体,用于登录注册
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    private String account;

    private String name;

    private String password;

    private String phone;

    private String sex;

    private String idNumber;//身份证号码

    private String status;

    private String permission; //权限

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    public Employee(String account, String password, String status) {
        this.account = account;
        this.password = password;
        this.status = status;
    }

    
}
